package com.diandian.backend.jingdong.home.exchange.req;

import java.io.Serializable;

public class SkuStockUpdateOneReq implements Serializable {

    private String offlineStoreCode; // 线下门店id
    private String productCode; // 线下商品id
    private Integer stockCount; // 库存数据

    public boolean check(){
        if(offlineStoreCode == null || "".equals(offlineStoreCode)){
            return false;
        }
        if(productCode == null || "".equals(productCode)){
            return false;
        }
        if(stockCount == null){
            return false;
        }
        return true;
    }

    public String getOfflineStoreCode() {
        return offlineStoreCode;
    }

    public void setOfflineStoreCode(String offlineStoreCode) {
        this.offlineStoreCode = offlineStoreCode;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }
}
